import Vue from 'vue'
import Vuex from 'vuex'
import state from  './state'

Vue.use(Vuex)

const store=new Vuex.Store({
  state,
  mutations:{
    changeAddress(state,city){
       state.address=city
      localStorage.address=city
      }
  }


})
export  default  store
